//
//  SkeletonXIBAppDelegate.h
//  SkeletonXIB
//
//  Created by Jim on 7/25/09.
//  Copyright __MyCompanyName__ 2009. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "GraphicsDevice.h"
#import "GLAnimation.h"

typedef enum  {
    eShipMoveLeft = 1,
    eShipMoveRight = 2,
    eShipMoveStay = 3
} ShipMotion;

@interface AppDelegate : NSObject <UIApplicationDelegate> {
    UIWindow *window;
	EAGLView2 *glView;
    CGFloat panMoved;
    GLAnimation* animation;
    ShipMotion lastShipMotion;
}

@property (nonatomic, retain) IBOutlet UIWindow *window;
@property (nonatomic, retain) IBOutlet EAGLView2 *glView;
- (IBAction)swipeDetected:(id)sender;
- (IBAction)tapDetected:(id)sender;
- (IBAction)panDetected:(id)sender;

@end

